<?php
$my_deptLabel = array('class' => 'control-label', 'name' => 'deptname');
$my_passLabel = array('class' => 'control-label', 'name' => 'password');
$my_remember = form_checkbox('check', 'remember-me') . ' Remember me!';
?>
<div id="login-style-boder">
	<?php
	echo form_open('main/login/', array('class' => 'form-horizontal', 'id' => 'login-style', 'name' => 'frm_login'));
	echo heading('USER LOGIN', 2, 'class="form-signin-heading"');
	?>
	<div class="control-group"><i class="icon-user"></i>
		<?php
		echo form_label('Department &nbsp;:', 'username', $my_deptLabel);
		?>
		<div class="controls">
			<?php
			echo form_input(array('class' => 'input-block-level', 'name' => 'txt_username'));
			?>
		</div>
	</div>
	<div class="control-group"><i class="icon-lock"></i>
		<?php echo form_label('Password &nbsp;:', 'password', $my_passLabel); ?>
		<div class="controls">
			<?php echo form_password(array('class' => 'input-block-level', 'name' => 'txt_password')); ?>
		</div>
	</div>
	<div class="control-group">
		<div class="controls">
			<?php
			$my_remember = form_checkbox('check', 'remember-me') . ' Remember me!';
			echo form_label($my_remember, 'checkbox', array('class' => 'checkbox'));
			echo form_submit(array('id' => 'btn-login', 'class' => 'btn', 'value' => 'LOGIN', 'name' => 'btn_signin'));
			?>
		</div>
		<a href="" id="forget-pass">Can\'t access your account?</a>
	</div>
	<?php
	echo form_close();
	?>
</div>    